<template>
	<view>
    <!--  -->
    <view class="search-box" @click="onClickHandle">
      <button type="default">
        <uni-icons type="search" size="18"></uni-icons>
        <text>搜索</text>
      </button>
    </view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
    methods:{
      onClickHandle() {
        this.$emit('click')
      }
    }
	}
</script>

<style lang="scss">
.search-box {
  background-color: #c00000;
  padding: 7px;
  button {
    height: 36px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    text {
      margin-left: 5px;
    }
  }
  }
</style>
